#include <iostream>
using namespace std;
main ()
{
cout << "vvedi chislo  ";
int A;
cin >> A;
int B=A%10;
cout << B << endl;
int C=(A%100)/10;
cout << C;
return 0;
}
